package com.yonyou.iuap.ipaas.connector.sdwcoatencent.api.model.core.response.save;

import com.yonyou.iuap.ipaas.connector.sdwcoatencent.api.model.core.response.Response;
import lombok.Data;

import java.util.List;
import java.util.Map;

@Data
public class ConnectorSaveResponse extends Response {

    private static final long serialVersionUID = 1L;
    private Long count = 0L;
    private Long successCount = 0L;
    private Long failCount = 0L;
    private Long deleteCount = 0L;
    private List<Map<String, Object>> infos;
    private List<SaveResponseData> deleteList;
    private List<SaveResponseMessage> messages;

    public ConnectorSaveResponse() {
    }


    public String toString() {
        return "ConnectorSaveResponse(count=" + this.getCount() + ", successCount=" + this.getSuccessCount() + ", failCount=" + this.getFailCount() + ", deleteCount=" + this.getDeleteCount() + ", infos=" + this.getInfos() + ", deleteList=" + this.getDeleteList() + ", messages=" + this.getMessages() + ")";
    }


    protected boolean canEqual(final Object other) {
        return other instanceof ConnectorSaveResponse;
    }

}
